<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			table {
				/* 合并边框 */
				border-collapse: collapse; 
			}
			td {
				border: 1px solid black;
				width: 80px;
				text-align: center;
			}
		</style>
	</head>
	<body>
		<script>
			document.write('<table>')
			for(let i=1;i<=9;i++){
				document.write('<tr>')
				for(let j=1;j <= i; j++){
					document.write('<td>')
					document.write(`${j}&times;${i}=${j * i}&nbsp;`)
					document.write('</td>')
				}
				document.write('</tr>')
			}
				
		</script>
	</body>
</html>
